package com.xiaohe66.web.application.im.convert;

import com.xiaohe66.web.application.im.result.ImUserResult;
import com.xiaohe66.web.domain.im.agg.ImUser;
import com.xiaohe66.web.infrastructure.domain.adapter.DataConverter;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author xiaohe
 * @since 2023.09.07 16:35
 */

@Mapper
public interface ImUserBoConverter extends DataConverter {

    ImUserResult toResult(ImUser imUserList);

    List<ImUserResult> toResult(List<ImUser> imUserList);

}
